package com.entity;

import java.sql.Timestamp;

public class Rechargerecord {

  private Integer id;
  private Integer cardId;
  private double rechargeAmount;
  private double afterAmount;
  private double beforeAmount;
  private Integer ruleId;
  private java.sql.Timestamp createdTime;
  private Integer staffId;
  private String momo;

  @Override
  public String toString() {
    return "Rechargerecord{" +
            "id=" + id +
            ", cardId=" + cardId +
            ", rechargeAmount=" + rechargeAmount +
            ", afterAmount=" + afterAmount +
            ", beforeAmount=" + beforeAmount +
            ", ruleId=" + ruleId +
            ", createdTime=" + createdTime +
            ", staffId=" + staffId +
            ", momo='" + momo + '\'' +
            '}';
  }

  public Rechargerecord() {
  }

  public Rechargerecord(double rechargeAmount, Timestamp createdTime) {
    this.rechargeAmount = rechargeAmount;
    this.createdTime = createdTime;
  }

  public Rechargerecord(Integer id, Integer cardId, double rechargeAmount, double afterAmount, double beforeAmount, Integer ruleId, Timestamp createdTime, Integer staffId, String momo) {
    this.id = id;
    this.cardId = cardId;
    this.rechargeAmount = rechargeAmount;
    this.afterAmount = afterAmount;
    this.beforeAmount = beforeAmount;
    this.ruleId = ruleId;
    this.createdTime = createdTime;
    this.staffId = staffId;
    this.momo = momo;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public Integer getCardId() {
    return cardId;
  }

  public void setCardId(Integer cardId) {
    this.cardId = cardId;
  }


  public double getRechargeAmount() {
    return rechargeAmount;
  }

  public void setRechargeAmount(double rechargeAmount) {
    this.rechargeAmount = rechargeAmount;
  }


  public double getAfterAmount() {
    return afterAmount;
  }

  public void setAfterAmount(double afterAmount) {
    this.afterAmount = afterAmount;
  }


  public double getBeforeAmount() {
    return beforeAmount;
  }

  public void setBeforeAmount(double beforeAmount) {
    this.beforeAmount = beforeAmount;
  }


  public Integer getRuleId() {
    return ruleId;
  }

  public void setRuleId(Integer ruleId) {
    this.ruleId = ruleId;
  }


  public java.sql.Timestamp getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(java.sql.Timestamp createdTime) {
    this.createdTime = createdTime;
  }


  public Integer getStaffId() {
    return staffId;
  }

  public void setStaffId(Integer staffId) {
    this.staffId = staffId;
  }


  public String getMomo() {
    return momo;
  }

  public void setMomo(String momo) {
    this.momo = momo;
  }

}
